from distutils.core import setup
import py2exe
setup(
    console=['SparkDesk.py'],
    options={
        'py2exe': {
            'bundle_files': 1,  # create a single executable
            'compressed': True,  # compress the executable
            'optimize': 2,  # optimization level
            'dll_excludes': ['w9xpopen.exe'],  # exclude unnecessary DLLs
        }
    },
    zipfile=None  # create a single .exe file
)
